.class public Lcom/esfile/screen/recorder/utils/h;
.super Ljava/lang/Object;
.source "DuFileManager.java"


# direct methods
.method public static a(Landroid/content/Context;Ljava/lang/String;Z)V
    .locals 5

    .line 20
    new-instance v0, Lcom/esfile/screen/recorder/provider/entity/a;

    invoke-direct {v0}, Lcom/esfile/screen/recorder/provider/entity/a;-><init>()V

    .line 21
    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/provider/entity/a;->c(Ljava/lang/String;)V

    const-wide/16 v1, 0x0

    .line 22
    invoke-virtual {v0, v1, v2}, Lcom/esfile/screen/recorder/provider/entity/a;->c(J)V

    .line 23
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v1

    const-wide/16 v3, 0x3e8

    div-long/2addr v1, v3

    .line 24
    invoke-virtual {v0, v1, v2}, Lcom/esfile/screen/recorder/provider/entity/a;->b(J)V

    .line 25
    invoke-virtual {v0, p2}, Lcom/esfile/screen/recorder/provider/entity/a;->b(Z)V

    .line 26
    invoke-static {v0}, Les/nb;->a(Lcom/esfile/screen/recorder/provider/entity/a;)J

    .line 27
    new-instance p2, Landroid/content/Intent;

    const-string v0, "com.esfile.screen.recorder.action.ADD_NEW_IMAGE"

    invoke-direct {p2, v0}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    const-string v0, "key_image_path"

    .line 28
    invoke-virtual {p2, v0, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 29
    invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object p0

    invoke-static {p0}, Landroidx/localbroadcastmanager/content/LocalBroadcastManager;->getInstance(Landroid/content/Context;)Landroidx/localbroadcastmanager/content/LocalBroadcastManager;

    move-result-object p0

    invoke-virtual {p0, p2}, Landroidx/localbroadcastmanager/content/LocalBroadcastManager;->sendBroadcast(Landroid/content/Intent;)Z

    return-void
.end method

.method public static a(Landroid/content/Context;Ljava/lang/String;ZJ[JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 10

    .line 1
    new-instance v9, Lcom/esfile/screen/recorder/utils/a;

    move-object v0, v9

    move-object v1, p1

    move-object v2, p0

    move v3, p2

    move-wide v4, p3

    move-object v6, p5

    move-object/from16 v7, p6

    move-object/from16 v8, p7

    invoke-direct/range {v0 .. v8}, Lcom/esfile/screen/recorder/utils/a;-><init>(Ljava/lang/String;Landroid/content/Context;ZJ[JLjava/lang/String;Ljava/lang/String;)V

    invoke-static {v9}, Les/xc;->a(Ljava/lang/Runnable;)V

    return-void
.end method

.method static synthetic a(Ljava/lang/String;Landroid/content/Context;ZJ[JLjava/lang/String;Ljava/lang/String;)V
    .locals 5

    .line 2
    new-instance v0, Lcom/esfile/screen/recorder/provider/entity/a;

    invoke-direct {v0}, Lcom/esfile/screen/recorder/provider/entity/a;-><init>()V

    .line 3
    invoke-virtual {v0, p0}, Lcom/esfile/screen/recorder/provider/entity/a;->c(Ljava/lang/String;)V

    .line 4
    invoke-static {p0}, Lcom/esfile/screen/recorder/utils/i;->h(Ljava/lang/String;)J

    move-result-wide v1

    .line 5
    invoke-virtual {v0, v1, v2}, Lcom/esfile/screen/recorder/provider/entity/a;->c(J)V

    .line 6
    invoke-static {p1, p0, v1, v2}, Les/rc;->b(Landroid/content/Context;Ljava/lang/String;J)V

    .line 7
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v1

    const-wide/16 v3, 0x3e8

    div-long/2addr v1, v3

    .line 8
    invoke-virtual {v0, v1, v2}, Lcom/esfile/screen/recorder/provider/entity/a;->b(J)V

    .line 9
    invoke-virtual {v0, p2}, Lcom/esfile/screen/recorder/provider/entity/a;->b(Z)V

    .line 10
    invoke-virtual {v0, p3, p4}, Lcom/esfile/screen/recorder/provider/entity/a;->a(J)V

    .line 11
    invoke-virtual {v0, p5}, Lcom/esfile/screen/recorder/provider/entity/a;->a([J)V

    .line 12
    invoke-virtual {v0, p6}, Lcom/esfile/screen/recorder/provider/entity/a;->b(Ljava/lang/String;)V

    .line 13
    invoke-virtual {v0, p7}, Lcom/esfile/screen/recorder/provider/entity/a;->a(Ljava/lang/String;)V

    .line 14
    invoke-static {p0}, Les/nb;->a(Ljava/lang/String;)J

    .line 15
    invoke-static {v0}, Les/nb;->a(Lcom/esfile/screen/recorder/provider/entity/a;)J

    .line 16
    new-instance p2, Landroid/content/Intent;

    const-string p3, "com.esfile.screen.recorder.action.VIDEO_CREATED"

    invoke-direct {p2, p3}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    const-string p3, "key_video_path"

    .line 17
    invoke-virtual {p2, p3, p0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 18
    invoke-static {p1}, Landroidx/localbroadcastmanager/content/LocalBroadcastManager;->getInstance(Landroid/content/Context;)Landroidx/localbroadcastmanager/content/LocalBroadcastManager;

    move-result-object p0

    .line 19
    invoke-virtual {p0, p2}, Landroidx/localbroadcastmanager/content/LocalBroadcastManager;->sendBroadcast(Landroid/content/Intent;)Z

    return-void
.end method

.method public static b(Landroid/content/Context;Ljava/lang/String;Z)V
    .locals 9

    const-wide/16 v3, 0x0

    const/4 v5, 0x0

    const-string v6, ""

    const-string v7, ""

    const-string v8, ""

    move-object v0, p0

    move-object v1, p1

    move v2, p2

    .line 1
    invoke-static/range {v0 .. v8}, Lcom/esfile/screen/recorder/utils/h;->a(Landroid/content/Context;Ljava/lang/String;ZJ[JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method
